//
//  DateView.h
//  DatePicker
//
//  Created by 红沙尘 on 17/4/24.
//  Copyright © 2017年 红沙尘. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreFoundation/CoreFoundation.h>

@protocol DateViewDelegate <NSObject>

- (void)dateDidChanged:(NSString *)aDate;

@end

@interface DateView : UIControl

@property (nonatomic, weak) id <DateViewDelegate> delegate;

- (id)initWithFrame:(CGRect)frame delegate:(id <DateViewDelegate>)delegate;

@property (nonatomic, copy) NSString *curDate;

@end
